using System;
using System.ComponentModel.DataAnnotations;

namespace RBDD.Embol.AccesoDatos.Entidades
{
 public partial class Tamano
 {
     public Tamano()
     {
     }
     #region foreign Keys
     #endregion
     public virtual int   Id { get; set;}

     [StringLength(50, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Nombre")]
     public virtual string   Nombre { get; set;}

     [StringLength(15, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Cantidad")]
     public virtual string   Cantidad { get; set;}

     [StringLength(30, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "UnidadMedida")]
     public virtual string   UnidadMedida { get; set;}

     [StringLength(10, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Abreviatura")]
     public virtual string   Abreviatura { get; set;}

     [StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Descripcion")]
     public virtual string   Descripcion { get; set;}
 }
}

